<!-- S 优品分类 -->
<section class="good-pro-cate">
	<div class="hd">
		<h2 class="hd-t">优品分类</h2>
		<#if categorys?exists>
			<ul class="hd-txt control">
				<#list categorys as category>
					<#if category_index==0>
						<li class="cur"><a href="${basePath}/search/c/${category.id}.htm">${category.name}<b></b></a></li>
					<#else>
						<#if (category_index < 10)>
						<li><a href="${basePath}/search/c/${category.id}.htm">${category.name}<b></b></a></li>
						</#if>
					</#if>
				</#list>
			</ul>
		</#if>
	</div>
	<div class="bd show-area">
		<#if details1?exists>
			<#list details1 as detail>
				<#if detail_index = 0>
					<div class="col-1">
						<#if detail.type==0 && detail.entityId?exists>
							<a href="${basePath}product/${detail.entityId}.htm" target="_blank">
						<#elseif detail.type==1 && detail.entityId?exists>
							<a href="${basePath}search/b/${detail.entityId}.htm" target="_blank">
						<#else>
							<a href="#" target="_blank">
						</#if>
						<img src="${img_server_url + "/" + detail.imageUrl1}"/></a>
					</div>
				<#elseif detail_index = 1>
					<div class="col-2">
						<#if detail.type==0 && detail.entityId?exists>
							<a href="${basePath}product/${detail.entityId}.htm" target="_blank">
						<#elseif detail.type==1 && detail.entityId?exists>
							<a href="${basePath}search/b/${detail.entityId}.htm" target="_blank">
						<#else>
							<a href="#" target="_blank">
						</#if>
						<img src="${img_server_url + "/" + detail.imageUrl1}"/></a>
					</div>
				<#elseif detail_index = 2>
					<div class="col-3">
						<#if detail.type==0 && detail.entityId?exists>
							<a href="${basePath}product/${detail.entityId}.htm" target="_blank">
						<#elseif detail.type==1 && detail.entityId?exists>
							<a href="${basePath}search/b/${detail.entityId}.htm" target="_blank">
						<#else>
							<a href="#" target="_blank">
						</#if>
						<img src="${img_server_url + "/" + detail.imageUrl1}"/></a>
						<#if !detail_has_next>
							</div>
						</#if>
				<#elseif detail_index = 3>
						<#if detail.type==0 && detail.entityId?exists>
							<a href="${basePath}product/${detail.entityId}.htm" target="_blank">
						<#elseif detail.type==1 && detail.entityId?exists>
							<a href="${basePath}search/b/${detail.entityId}.htm" target="_blank">
						<#else>
							<a href="#" target="_blank">
						</#if>
						<img src="${img_server_url + "/" + detail.imageUrl1}"/></a>
					</div>
				<#elseif detail_index = 4>
					<div class="col-4">
						<#if detail.type==0 && detail.entityId?exists>
							<a href="${basePath}product/${detail.entityId}.htm" target="_blank">
						<#elseif detail.type==1 && detail.entityId?exists>
							<a href="${basePath}search/b/${detail.entityId}.htm" target="_blank">
						<#else>
							<a href="#" target="_blank">
						</#if>
						<img src="${img_server_url + "/" + detail.imageUrl1}"/></a>
					</div>
				</#if>
			</#list>	
		</#if>
	</div>
</section>
<!-- E 优品分类 -->